package com.zygh.policeasset.pojo.imports;

import cn.afterturn.easypoi.util.PoiElUtil;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/imports/QrCodeInfoImport.class */
public class QrCodeInfoImport {
    @ExcelIgnore
    private Integer id;
    @ExcelProperty(value = {"资产名称"}, index = 0)
    @ApiModelProperty("资产名称")
    private String name;
    @ExcelProperty(value = {"存放地点"}, index = 1)
    @ApiModelProperty("存放地点")
    private String address;
    @ExcelProperty(value = {"管理单位"}, index = 2)
    @ApiModelProperty("管理单位")
    private String managementUnit;
    @ExcelProperty(value = {"使用人"}, index = 3)
    @ApiModelProperty("使用人")
    private String useUser;
    @ExcelProperty(value = {"二维码编号"}, index = 4)
    @ApiModelProperty("二维码编号")
    private String qrCode;
    @ExcelIgnore
    @ApiModelProperty("二维码关联表主键")
    private Integer qrCodeGeneratedId;
    @ExcelIgnore
    @ApiModelProperty("类型1铝制，2打印标牌")
    private Integer type;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setManagementUnit(String managementUnit) {
        this.managementUnit = managementUnit;
    }

    public void setUseUser(String useUser) {
        this.useUser = useUser;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public void setQrCodeGeneratedId(Integer qrCodeGeneratedId) {
        this.qrCodeGeneratedId = qrCodeGeneratedId;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof QrCodeInfoImport)) {
            return false;
        }
        QrCodeInfoImport other = (QrCodeInfoImport) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null) {
            if (other$name != null) {
                return false;
            }
        } else if (!this$name.equals(other$name)) {
            return false;
        }
        Object this$address = getAddress();
        Object other$address = other.getAddress();
        if (this$address == null) {
            if (other$address != null) {
                return false;
            }
        } else if (!this$address.equals(other$address)) {
            return false;
        }
        Object this$managementUnit = getManagementUnit();
        Object other$managementUnit = other.getManagementUnit();
        if (this$managementUnit == null) {
            if (other$managementUnit != null) {
                return false;
            }
        } else if (!this$managementUnit.equals(other$managementUnit)) {
            return false;
        }
        Object this$useUser = getUseUser();
        Object other$useUser = other.getUseUser();
        if (this$useUser == null) {
            if (other$useUser != null) {
                return false;
            }
        } else if (!this$useUser.equals(other$useUser)) {
            return false;
        }
        Object this$qrCode = getQrCode();
        Object other$qrCode = other.getQrCode();
        if (this$qrCode == null) {
            if (other$qrCode != null) {
                return false;
            }
        } else if (!this$qrCode.equals(other$qrCode)) {
            return false;
        }
        Object this$qrCodeGeneratedId = getQrCodeGeneratedId();
        Object other$qrCodeGeneratedId = other.getQrCodeGeneratedId();
        if (this$qrCodeGeneratedId == null) {
            if (other$qrCodeGeneratedId != null) {
                return false;
            }
        } else if (!this$qrCodeGeneratedId.equals(other$qrCodeGeneratedId)) {
            return false;
        }
        Object this$type = getType();
        Object other$type = other.getType();
        return this$type == null ? other$type == null : this$type.equals(other$type);
    }

    protected boolean canEqual(Object other) {
        return other instanceof QrCodeInfoImport;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $name = getName();
        int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
        Object $address = getAddress();
        int result3 = (result2 * 59) + ($address == null ? 43 : $address.hashCode());
        Object $managementUnit = getManagementUnit();
        int result4 = (result3 * 59) + ($managementUnit == null ? 43 : $managementUnit.hashCode());
        Object $useUser = getUseUser();
        int result5 = (result4 * 59) + ($useUser == null ? 43 : $useUser.hashCode());
        Object $qrCode = getQrCode();
        int result6 = (result5 * 59) + ($qrCode == null ? 43 : $qrCode.hashCode());
        Object $qrCodeGeneratedId = getQrCodeGeneratedId();
        int result7 = (result6 * 59) + ($qrCodeGeneratedId == null ? 43 : $qrCodeGeneratedId.hashCode());
        Object $type = getType();
        return (result7 * 59) + ($type == null ? 43 : $type.hashCode());
    }

    public String toString() {
        return "QrCodeInfoImport(id=" + getId() + ", name=" + getName() + ", address=" + getAddress() + ", managementUnit=" + getManagementUnit() + ", useUser=" + getUseUser() + ", qrCode=" + getQrCode() + ", qrCodeGeneratedId=" + getQrCodeGeneratedId() + ", type=" + getType() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public String getAddress() {
        return this.address;
    }

    public String getManagementUnit() {
        return this.managementUnit;
    }

    public String getUseUser() {
        return this.useUser;
    }

    public String getQrCode() {
        return this.qrCode;
    }

    public Integer getQrCodeGeneratedId() {
        return this.qrCodeGeneratedId;
    }

    public Integer getType() {
        return this.type;
    }
}